home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DJGPP
/
QDDVX102.ZIP
/
contrib
/
dvx
/
inc
/
pwd.h
< prev
next >
Wrap
Text File
|
1993-07-15
|
2KB
|
66 lines
#ifndef __PWD_H__
#define __PWD_H__
/*
* $Header: pwd.h,v 1.1 90/01/16 12:14:48 dbo Exp $
* This material is confidential and is furnished under a written
* license agreement. It may not be used, copied or disclosed to
* others except in accordance with the terms of that agreement.
*
* Copyright (C) 1987, 1991 Spectragraphics, Inc.
* All Rights Reserved.
*
* Some portions Copyright 1987 by Digital Equipment Corporation, Maynard,
* Massachusetts, and the Massachusetts Institute of Technology, Cambridge,
* Massachusetts.
*
* DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
* ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
* DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
* ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
* WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
* $Locker: $
*/
/* pwd.h 4.1 83/05/03 */
struct passwd { /* see getpwent(3) */
char *pw_name;
char *pw_passwd;
unsigned short pw_uid;
unsigned short pw_gid;
unsigned short pw_quota;
char *pw_comment;
char *pw_gecos;
char *pw_dir;
char *pw_shell;
};
#ifndef NO_PROTO
char *getlogin(void);
int getuid(void);
void setpwent(void);
struct passwd *getpwent(void);
struct passwd *getpwuid(int uid);
struct passwd *getpwnam(char *name);
char *getpwvar(char *key,char *var);
#else /* NO_PROTO */
char *getlogin();
int getuid();
void setpwent();
struct passwd *getpwent();
struct passwd *getpwuid();
struct passwd *getpwnam();
char *getpwvar();
#endif /* NO_PROTO */
#endif /* __PWD_H__ */